This page last changed on Mar 30, 2009 by scytacki.
Example once you have an OTClass
OTClassProperty also provides the default value for a property.
Getting an OTClass
If you are running inside of the OTrunk system already then you probably have an OTObject which is an instance of the OTClass you want. So in that case you can just do:
If you don't have an otObject of the right type, but you do have an otObjectService, then your best option is to do (for example):
If you don't have an otObjectService and don't want to make one then you can do:
|